We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 797959f commit c9eda23Copy full SHA for c9eda23
packages/vite/src/node/plugins/css.ts
@@ -363,14 +363,15 @@ export function cssPlugin(config: ResolvedConfig): Plugin {
363
},
364
365
async transform(raw, id) {
366
- const { environment } = this
367
if (
368
!isCSSRequest(id) ||
369
commonjsProxyRE.test(id) ||
370
SPECIAL_QUERY_RE.test(id)
371
) {
372
return
373
}
+
374
+ const { environment } = this
375
const resolveUrl = (url: string, importer?: string) =>
376
idResolver(environment, url, importer)
377
0 commit comments